package cn.edu.njtc.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("tb_educational_activity")
public class EducationActivity {
    @TableId(value = "activity_id", type = IdType.AUTO)
    private Long activityId;

    @TableField("activity_name")
    private String activityName;

    @TableField("activity_description")
    private String activityDescription;

    @TableField("activity_date")
    private LocalDateTime activityDate;

    @TableField("organizer")
    private String organizer;

    @TableField("location")
    private String location;

    @TableField("created")
    private LocalDateTime created;

    @TableField("updated")
    private String updated;

    @TableField("status")
    private String status;

    @TableField("deleted")
    @Schema(description = "逻辑删除标记")
    private Boolean deleted;
}
